package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class XJTEmerUndergroundPassageRowMapper implements RowMapper<XJTEmerUndergroundPassage>{


	@Override
	public XJTEmerUndergroundPassage mapRow(ResultSet rs, int rowNum) throws SQLException {
		XJTEmerUndergroundPassage  lj= new XJTEmerUndergroundPassage();
		lj.setId(rs.getInt("id"));
		lj.setPassage_name(rs.getString("passage_name"));
		lj.setPassage_site(rs.getString("passage_site"));
		lj.setContactor(rs.getString("contactor"));
		lj.setPhone(rs.getString("phone"));
		lj.setTel(rs.getString("tel"));
		lj.setLng(rs.getString("lng"));
		lj.setLat(rs.getString("lat"));


		lj.setDuty_dept(rs.getString("duty_dept"));
		lj.setOrg_code(rs.getString("org_code"));



		return lj;
	}

}
